import request from '@/utils/request'

// 查询特困人员列表
export function listDestitute_person(query) {
  return request({
    url: '/report/destitute_person/list',
    method: 'get',
    params: query
  })
}

// 查询特困人员详细
export function getDestitute_person(id) {
  return request({
    url: '/report/destitute_person/' + id,
    method: 'get'
  })
}

// 新增特困人员
export function addDestitute_person(data) {
  return request({
    url: '/report/destitute_person',
    method: 'post',
    data: data
  })
}

// 修改特困人员
export function updateDestitute_person(data) {
  return request({
    url: '/report/destitute_person',
    method: 'put',
    data: data
  })
}

// 删除特困人员
export function delDestitute_person(id) {
  return request({
    url: '/report/destitute_person/' + id,
    method: 'delete'
  })
}
